package main.com.votes.model;

import com.sun.org.apache.xml.internal.security.Init;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Article {
    private int articleid;

    private String title;

    private int type;

    private Timestamp createTime;

    private int num;//1是已投，0是未投

    private int voteNum; //已投票人数

    private int userId;
}
